StoreEngine\Classes\order\AbstractOrderItem A

Total Complexity 51
Dependencies 5
Dependents 1
Total lines 400
Lines of code 182
Logical lines of code 90
Comment lines 145
Methods 19
Properties 8

Methods 19

Method Rating Maintainability Complexity Lines of code
get_formatted_metadata()
B
46 17 33
calculate_taxes()
S
52 6 23
update()
S
52 4 26
read()
S
54 4 21
create()
S
57 3 17
clear_caches()
S
65 3 9
is_attribute_in_product_name()
S
72 2 4
get_order_item_type()
S
66 1 9
apply_changes()
S
76 1 4
get_order_id()
S
79 1 3
get_name()
S
79 1 3
get_tax_status()
S
82 1 3
get_tax_class()
S
82 1 3
get_order()
S
80 1 3
set_order_id()
S
79 1 3
set_name()
S
79 1 3
get_all_formatted_metadata()
S
79 1 3
get_order_id_by_order_item_id()
S
66 1 9
get_quantity()
S
82 1 3